home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / DrawP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  5.1 KB  |  162 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: DrawP.h,v $ $Revision: 1.18 $ $Date: 92/05/14 12:50:41 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. #ifndef _XmDrawP_h
  11. #define _XmDrawP_h
  12.  
  13. #include <Xm/XmP.h>
  14.  
  15. #if defined(__cplusplus) || defined(c_plusplus)
  16. extern "C" {
  17. #endif
  18.  
  19.  
  20. /********    Private Function Declarations    ********/
  21. #ifdef _NO_PROTO
  22.  
  23. extern void _XmDrawShadows() ;
  24. extern void _XmClearBorder() ;
  25. extern void _XmDrawSeparator() ;
  26. extern void _XmDrawDiamond() ;
  27. extern void _XmDrawHighlight() ;
  28. extern void _XmDrawArrow() ;
  29.  
  30. #else
  31.  
  32. extern void _XmDrawShadows( 
  33.                         Display *display,
  34.                         Drawable d,
  35.                         GC top_gc,
  36.                         GC bottom_gc,
  37. #if NeedWidePrototypes
  38.                         int x,
  39.                         int y,
  40.                         int width,
  41.                         int height,
  42.                         int shad_thick,
  43. #else
  44.                         Position x,
  45.                         Position y,
  46.                         Dimension width,
  47.                         Dimension height,
  48.                         Dimension shad_thick,
  49. #endif /* NeedWidePrototypes */
  50.                         unsigned int shad_type) ;
  51. extern void _XmClearBorder( 
  52.                         Display *display,
  53.                         Window w,
  54. #if NeedWidePrototypes
  55.                         int x,
  56.                         int y,
  57.                         int width,
  58.                         int height,
  59.                         int shadow_thick) ;
  60. #else
  61.                         Position x,
  62.                         Position y,
  63.                         Dimension width,
  64.                         Dimension height,
  65.                         Dimension shadow_thick) ;
  66. #endif /* NeedWidePrototypes */
  67. extern void _XmDrawSeparator( 
  68.                         Display *display,
  69.                         Drawable d,
  70.                         GC top_gc,
  71.                         GC bottom_gc,
  72.                         GC separator_gc,
  73. #if NeedWidePrototypes
  74.                         int x,
  75.                         int y,
  76.                         int width,
  77.                         int height,
  78.                         int shadow_thick,
  79.                         int margin,
  80.                         unsigned int orientation,
  81.                         unsigned int separator_type) ;
  82. #else
  83.                         Position x,
  84.                         Position y,
  85.                         Dimension width,
  86.                         Dimension height,
  87.                         Dimension shadow_thick,
  88.                         Dimension margin,
  89.                         unsigned char orientation,
  90.                         unsigned char separator_type) ;
  91. #endif /* NeedWidePrototypes */
  92. extern void _XmDrawDiamond( 
  93.                         Display *display,
  94.                         Drawable d,
  95.                         GC top_gc,
  96.                         GC bottom_gc,
  97.                         GC center_gc,
  98. #if NeedWidePrototypes
  99.                         int x,
  100.                         int y,
  101.                         int width,
  102.                         int height,
  103.                         int shadow_thick,
  104.                         int fill) ;
  105. #else
  106.                         Position x,
  107.                         Position y,
  108.                         Dimension width,
  109.                         Dimension height,
  110.                         Dimension shadow_thick,
  111.                         Dimension fill) ;
  112. #endif /* NeedWidePrototypes */
  113. extern void _XmDrawHighlight( 
  114.                         Display *display,
  115.                         Drawable d,
  116.                         GC gc,
  117. #if NeedWidePrototypes
  118.                         int x,
  119.                         int y,
  120.                         int width,
  121.                         int height,
  122.                         int border_width,
  123. #else
  124.                         Position x,
  125.                         Position y,
  126.                         Dimension width,
  127.                         Dimension height,
  128.                         Dimension border_width,
  129. #endif /* NeedWidePrototypes */
  130.                         int line_style) ;
  131. extern void _XmDrawArrow( 
  132.                         Display *display,
  133.                         Drawable d,
  134.                         GC top_gc,
  135.                         GC bot_gc,
  136.                         GC cent_gc,
  137. #if NeedWidePrototypes
  138.                         int x,
  139.                         int y,
  140.                         int width,
  141.                         int height,
  142.                         int shadow_thick,
  143.                         unsigned int direction) ;
  144. #else
  145.                         Position x,
  146.                         Position y,
  147.                         Dimension width,
  148.                         Dimension height,
  149.                         Dimension shadow_thick,
  150.                         unsigned char direction) ;
  151. #endif /* NeedWidePrototypes */
  152.  
  153. #endif /* _NO_PROTO */
  154. /********    End Private Function Declarations    ********/
  155.  
  156.  
  157. #if defined(__cplusplus) || defined(c_plusplus)
  158. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  159. #endif
  160.  
  161. #endif /* _XmDrawP_h */
  162.